<div class="stateSelector">
{#foreach $T as list}
	{#if $T.list.selected}
	<input type="radio" value="{$T.list.value} {$T.list.name} {$T.list.idInfo[0]} {$T.list.idInfo[1]}" class="state" name="state" checked="checked"/>{$T.list.name}
	{#else}
	<input type="radio" value="{$T.list.value} {$T.list.name} {$T.list.idInfo[0]} {$T.list.idInfo[1]}" class="state" name="state"/>{$T.list.name}
	{#/if}
{#/for}
</div>